@echo off
python.exe -m pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple/

pip install loguru -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install pygame -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install netifaces -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install addict -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install cython -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install imgaug -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install opencv-python -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install pandas -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install pyclipper -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install PyMySQL -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install pyqt5 -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install pyyaml -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install scikit-image==0.19.1 -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install scipy -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install seaborn -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install shapely -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install tqdm -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install xlwt -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install modbus_tk -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install pygame -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install mutagen -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install pyarmor -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install psutil -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install tensorboard -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install albumentations -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install onnxruntime -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install onnx -i https://pypi.tuna.tsinghua.edu.cn/simple/
pip install opencv-contrib-python -i https://pypi.tuna.tsinghua.edu.cn/simple/

::import py_compile py_compile.compile(file="malicious.py")

#torch cpu
#https://pytorch.org/get-started/previous-versions/
pip install torch==1.11.0+cu113 torchvision==0.12.0+cu113 torchaudio==0.11.0 --extra-index-url https://download.pytorch.org/whl/cu113
pip install torch==1.12.0+cu113 torchvision==0.13.0+cu113 torchaudio==0.12.0 --extra-index-url https://download.pytorch.org/whl/cu113
pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 torchaudio==0.12.1 --extra-index-url https://download.pytorch.org/whl/cu113

#torch cpu
pip install torchvision==0.13.1 -i https://pypi.tuna.tsinghua.edu.cn/simple/

::pip3 install torch==1.7.1 -i https://pypi.tuna.tsinghua.edu.cn/simple/
::pip3 install torchvision==0.8.2 -i https://pypi.tuna.tsinghua.edu.cn/simple/

::pip install git+https://gitee.com/HyperDenton/fvcore -i https://pypi.tuna.tsinghua.edu.cn/simple/
::pip install git+https://gitee.com/monkeycc/detectron2 -i https://pypi.tuna.tsinghua.edu.cn/simple/

pushd yolov5_rotation
pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple/
popd



